#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a1[32];
	char a3[8];
	short a2[16];
	printf("请输入两个32位数据");
	scanf("%d %d", &a1[0], &a1[1]);
	 a2[0] = (short)(a1[0]);
	 a3[0] = (char)(a1[0]);
	 a2[1] = (short)(a1[1]);
	 a3[1] = (char)(a1[1]);
	 printf("两个16位数据：%hd %hd", &a2[0], a2[1]);
	 printf("两个8位数据：%s  %s", &a3[0], a3[1]);

	return 0;
}